home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 655 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  4.4 KB

  1. Path: data.franken.de!postmaster
  2. Newsgroups: comp.sys.amiga.programmer
  3. References: <4bsgo0$3sg@bagan.srce.hr> <2317.6571T521T1370@rhein-neckar.de> <45915670@data.franken.de> <jasonb.820810317@cs.uwa.edu.au>
  4. From: "Walter Doerwald" <walter@data.franken.de>
  5. Date: Fri, 05 Jan 96 09:58:29 +0100
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=iso-8859-1
  8. Content-Transfer-Encoding: 8bit
  9. X-NewsReader: IntuiNews 1.3a (7.9.95)
  10. Subject: Re: Amiga programmers in deep shit...
  11. Message-ID: <45915679@data.franken.de>
  12.  
  13. In <jasonb.820810317@cs.uwa.edu.au> Jason S Birch wrote:
  14.  
  15. > "Walter Doerwald" <walter@data.franken.de> writes:
  16. > >There is IMHO no *usable* C++-Compiler for the AMIGA. (GCC doesn't compile
  17. > >my programs because of "virtual memory exceeded" or "internal compiler
  18. > >error")
  19. > SAS/C++ seems useable provided you don't need templates or exceptions.
  20.  
  21. That's the problem, because I need templates and RTTI (and probably
  22. namespaces soon).
  23.  
  24. > I don't know anything about Cameau (sp?) C++, so I can't say whether
  25. > it's useable or not. 
  26.  
  27. I don't know either, but if it supports templates and RTTI and namespaces
  28. and explicit and mutable and STL and ... then Comeau might be my "compiler"
  29. of choice.
  30.  
  31. > As for GCC's usefulness, I suspect the errors
  32. > you've given indicate a lack of resources on your machine to run it
  33.  
  34. I have 2MB chip and 16MB fast, so IMHO there should be no problem.
  35.  
  36. > (unless it was your code - have you tried the code on other compilers
  37. > or gcc on other machines?), 
  38.  
  39. It compiles fine with GCC 2.7.2 under DEC/Ultrix and with Borland C++ 4.5
  40. under Windows NT (BTW, it takes two minutes to compile under WNT)
  41.  
  42. > which says it's not useable on *your*
  43. > Amiga, as opposed to "the" Amiga.
  44.  
  45. So I'll need to buy another 8 or 16MB of memory (and something to put the
  46. memory on since the motherboard ist full)
  47.  
  48. I've even tried VMM, it works, but it takes more than 24 hours and 1.2
  49. million pagefaults. :'-( Hardly an environment to do software development.
  50.  
  51. > >> Pascal, many BASIC dialects, ASM and quite every other language.
  52. > >So where's Smalltalk80?
  53. >
  54. > On Aminet:
  55. >
  56. > ALSt304.lzh        dev/lang   380K  73+Amiga Little Smalltalk version 3.04
  57. > SmallTalk.lha      dev/lang   227K 428+Port of the Little Smalltalk system.
  58. > smalltlk.lha       dev/lang   362K  18+Amiga Little Smalltalk version 3.09
  59.  
  60. I know Little Smalltalk (I've done the V40-guide ;))
  61.  
  62. But Little Smalltalk (developed by Timothy Budd) is *not* Smalltalk80
  63. (developed by ParcPlace/Digitalk). Little Smalltalk is much more limited.
  64. E.g. Smalltalk80 supports catagories, i.e. you can put your classes into
  65. different categories (e.g. one catagories for each project). This works for
  66. methods too, etc. etc. Smalltalk80 has GUI-classes (but hopefully we'll
  67. have (MUI) GUI classes for ALSt too)
  68.  
  69. > I seem to recall a text-only SmallTalk80 from years ago, but I don't
  70. > know where it is (it might have been a generic Unix program).
  71.  
  72. This was probably the first version of Little Smalltalk from FishDisk 1(?).
  73.  
  74. > None of
  75. > these have very many custom classes, however, which limits their
  76. > current usefulness for application design.
  77.  
  78. Especially the nonexistent GUI classes.
  79.  
  80. > >> You`ll find AmigaE, too, which is IMHO unbeaten and NOT available on the
  81. > >> PeeCees anyway.
  82. >
  83. > >What's so great about E? I've never used the language/compiler.
  84. >
  85. > I haven't used it for a long time, but it has a few neat features -
  86. > exception handling, built-in lists, and I believe now
  87. > object-orientation.
  88.  
  89. Exception handling in what way? The way C++ does it? (Calling destructors
  90. when throwing an exception)
  91.  
  92. What does built-in lists mean? Has E features to define new types, and the
  93. lists are part of the standard library? Or are they hard wired?
  94.  
  95. OO? This probably means it's possible to define new types. Does E
  96. distinguish between inheritance of interface and inheritance of
  97. implementation?
  98.  
  99. > It also produces very tight code, however was
  100. > essentially type-free, in that the language didn't try very hard to
  101. > stop you from accidentally putting values of the wrong type into
  102. > variables (one of the main points of having types). It may have changed
  103. > since then, I don't know. (Of course, neither does Smalltalk...)
  104.  
  105. Yes, but there's an advantage with Smalltalk here. Smalltalk gives you
  106. "signature bound" polymorphism compared to the inheritance bound
  107. polymorphism of C++.
  108.  
  109. I suppose E gives you crashes, when putting the wrong type into variables.
  110.  
  111. Bye...
  112.     Walter Doerwald
  113.